<?php
/**
 * File: userdata.php
 * User: lyc
 * Date: 16/3/25
 * Time: 下午11:22
 */

class UserData{

    private $userdata = array();

    public function getUserdata()
    {
        return $this->userdata;
    }

    public function setUserdata($userdata)
    {
        $this->userdata = $userdata;
    }

    public function isUserdataNull()
    {
        if($this->userdata == null)
        {
            return false;
        }
        else {
            return true;
        }
    }

}